<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="countersign" name="countersign" th:value="${countersign}"  type="hidden">
						<input id="comment_file" name="comment_file" th:value="${comment_file}"  type="hidden">
						<input id="cntId" name="cntId" th:value="${tbContactInfo.cntId}"  type="hidden">
						<input id="taskId" name="taskId" th:value="${tbContactInfo.taskId}" type="hidden">
						<div class="form-group">	
								<label class="col-sm-2 control-label">名称：</label>
								<div class="col-sm-8">
						            <input id="cntName" name="cntName" th:value="${tbContactInfo.cntName}" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
	                        <div class="form-group">
	                            <label class="col-sm-2 control-label">流程实例ID：</label>
	                            <div class="col-sm-4">
	                                <input id="procInsId" name="procInsId" th:value="${tbContactInfo.procInsId}"
	                                       class="form-control" type="text" readonly="readonly">
	                            </div>
								<label class="col-sm-2 control-label">申请人：</label>
								<div class="col-sm-4">
									<input id="sqr" name="sqr" th:value="${tbContactInfo.sqr}" class="form-control" type="text" readonly="readonly">
								</div>
	                        </div>
							<div class="form-group">	
								<label class="col-sm-2 control-label">性别：</label>
								<div class="col-sm-4">
									<input id="sex" name="sex" th:value="${tbContactInfo.sex}" class="form-control" type="text" readonly="readonly">
								</div>
								<label class="col-sm-2 control-label">身份证号：</label>
								<div class="col-sm-4">
									<input id="sfz" name="sfz" th:value="${tbContactInfo.sfz}" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-2 control-label">所在单位：</label>
								<div class="col-sm-4">
									<input id="dw" name="dw" th:value="${tbContactInfo.dw}" class="form-control" type="text" readonly="readonly">
								</div>
								<label class="col-sm-2 control-label">职务：</label>
								<div class="col-sm-4">
									<input id="zw" name="zw" th:value="${tbContactInfo.zw}" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-2 control-label">岗位：</label>
								<div class="col-sm-4">
									<input id="gw" name="gw" th:value="${tbContactInfo.gw}" class="form-control" type="text" readonly="readonly">
								</div>
								<label class="col-sm-2 control-label">现岗位起始时间：</label>
								<div class="col-sm-4">
									<input id="sdate" name="sdate" th:value="${tbContactInfo.sdate}" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-2 control-label">取得法律职业资格证时间：</label>
								<div class="col-sm-4">
									<input id="qdate" name="qdate" th:value="${tbContactInfo.qdate}" class="form-control" type="text" readonly="readonly">
								</div>
								<label class="col-sm-2 control-label">法律职业资格证编号：</label>
								<div class="col-sm-4">
									<input id="bh" name="bh" th:value="${tbContactInfo.bh}" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-2 control-label">申请人承诺：</label>
								<div class="col-sm-8">
									<textarea id="cn" name="cn" class="form-control" rows="3" readonly="readonly">[[${tbContactInfo.cn}]]</textarea>
								</div>
							</div>			
							<div class="form-group">	
								<label class="col-sm-2 control-label">历史批注：</label>
								<div class="col-sm-8">
									<table id="comments" data-mobile-responsive="true"></table>
								</div>
							</div>
							<div class="form-group" id="comment_filelist_formgroup">	
								<label class="col-sm-2 control-label">批注附件：</label>
								<div class="col-sm-8">
									<button type="button" class="layui-btn" id="test3">
 										<i class="fa fa-cloud"></i>上传文件
                        			</button>
									<table id="comment_filelist" data-mobile-responsive="true"></table>
								</div>
							</div>
	                        <div class="form-group">
								<label class="col-sm-2 control-label">您的意见：</label>
								<div class="col-sm-8">
									<p>
									  <textarea id="taskComment" name="taskComment" class="form-control" rows="3" required></textarea>
								  </p>
								</div>
	                        </div>
	                        <input id="taskPass" name="taskPass" class="hidden">
	                        <div class="form-group">
	                            <div class="col-sm-8 col-sm-offset-3">
	                                <button type="submit" class="btn btn-primary" onclick="$('#taskPass').val('1')">提交
	                                </button>
	                                <button type="submit" class="btn btn-warning" onclick="$('#taskPass').val('0')">退回
	                                </button>
	                            </div>
	                        </div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/contact/tbContactInfo/edit.js"></script>
	<script type="text/javascript" src="/js/appjs/contact/tbContactInfo/filelist_edit.js"></script>
	<script type="text/javascript" src="/js/appjs/contact/tbContactInfo/comment_filelist.js"></script>
	<script type="text/javascript" src="/js/appjs/contact/tbContactInfo/comments1.js"></script>
</body>
</html>
